Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Packager Class / SendToServerAsync Method / SendToServerAsync(Predicate<SessionSummary>,String,Boolean,Boolean) Method
A delegate to evaluate sessions and determine which ones to send.
The application key to use to communicate with the Loupe Server
True to have every included session marked as read upon successful completion.
True to have every included session removed from the local repository upon successful completion.

In This Topic
    SendToServerAsync(Predicate<SessionSummary>,String,Boolean,Boolean) Method
    In This Topic
    Asynchronously send sessions to the Gibraltar Loupe Service using the specified customer name
    Syntax
    'Declaration
     
    
    Public Overloads Sub SendToServerAsync( _
       ByVal sessionMatchPredicate As Predicate(Of SessionSummary), _
       ByVal applicationKey As String, _
       ByVal markAsRead As Boolean, _
       ByVal purgeSentSessions As Boolean _
    ) 

    Parameters

    sessionMatchPredicate
    A delegate to evaluate sessions and determine which ones to send.
    applicationKey
    The application key to use to communicate with the Loupe Server
    markAsRead
    True to have every included session marked as read upon successful completion.
    purgeSentSessions
    True to have every included session removed from the local repository upon successful completion.
    Remarks
    The EndSend event will be raised when the send operation completes. Because sessions are sent one by one, they will be individually marked as read once sent.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also